<?php

declare (strict_types = 1);

namespace app\model\system;

use owns\interface\OwnsModelInteface;

class MenuModel extends OwnsModelInteface
{
    protected $name = 'system_menu';

    protected $field = [];

    public function apiList()
    {
        return $this->hasMany(MenuApiModel::class, 'menu_id', 'id');
    }
}